package com.cmict.data.system.controller.admin.portal.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;


import java.time.LocalDateTime;

import static com.cmict.data.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 门户 Excel 导出 Request VO", description = "参数和 PortalPageReqVO 是一致的")
@Data
public class PortalExportReqVO {

    @ApiModelProperty(value = "门户编号")
    private String portalNumber;

    @ApiModelProperty(value = "门户名称")
    private String portalName;

    @ApiModelProperty(value = "门户json管理")
    private String portalJsonMessage;

    @ApiModelProperty(value = "门户描述")
    private String portalDesc;

    @ApiModelProperty(value = "管理菜单id")
    private Long manageMenuId;

    @ApiModelProperty(value = "是否启用（0：启用，1：禁用）")
    private Integer isEnable;

    @ApiModelProperty(value = "引用状态（0：未引用，1：被引用）")
    private Integer isReference;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "开始创建时间")
    private LocalDateTime beginCreateTime;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "结束创建时间")
    private LocalDateTime endCreateTime;

}
